import { useParams } from "react-router-dom";
function UserInfo() {
    const { id } = useParams();
    return <h1>UserInfo页面，当前页面的ID为：{id}</h1>
}
export default UserInfo;